package com.kc.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * FileName: KcShareDistributionApply
 * Author:   TP
 * Date:     2020-11-14 08:34
 * Description: 分销用户申请
 */
@Data
@Table(name = "kc_share_distribution_apply")
public class KcShareDistributionApply {

    @Id
    private Integer id;

    /** 申请用户ID */
    private Integer applyUserId;

    /** 申请时间 */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime applyTime;

    /** 审核状态 */
    private Integer auditStatus;

    /** 拒绝原因 */
    private String rejectReason;

    /** 修改人 */
    private String updateBy;

    /** 修改时间 */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
